package com.javasm.crm.service.giftservice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.crm.domin.criteria.GiftInfoCriteria;
import com.javasm.crm.domin.entity.gift.*;
import com.javasm.crm.utils.page.PageResult;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whl
 * @since 2021-07-12
 */
public interface GoodsService extends IService<Goods> {
	PageResult<GoodsVo> searchGoodsPageByCriteria(GiftInfoCriteria giftInfoCriteria);

	List<GiftColor> findColor();
	List<GiftType> findType();
	List<GiftBrand> findBrand();

	int addGift(Goods goodsInfo);
	int editGood(Goods goods);

	int deleteById(Serializable id);
}
